package com.qk.enums;

/**
 * @Author: zhangchuang
 * @Date: 2025/10/17 14:21
 * @Description: 字段枚举类
 */
@SuppressWarnings("all")
public enum FieldEnum implements Code {
    Field_NO_DELETE_USED_BY_CLUE("字段被线索使用，不能删除", 10001),
    Field_NO_DELETE_USED_BY_BUSINESS("字段被商机使用，不能删除", 10002),
    Field_NO_DELETE_USED_BY_CUSTOMER("字段被客户使用，不能删除", 10003),
    ;

    private final int code;
    private final String message;

    FieldEnum(String message, int code) {
        this.message = message;
        this.code = code;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
